package com.example.redis.DTO;

import lombok.Data;

@Data
public class WeChatMiniAppAuthResponse {
    private String openid;
    private String session_key;
    private Integer expires_in;
    private String errcode;
    private String errmsg;

    // 省略getter和setter方法

    // 可选：重写toString()方法以便于调试时查看对象内容
    @Override
    public String toString() {
        return "WeChatMiniAppAuthResponse{" +
                "openid='" + openid + '\'' +
                ", session_key='" + session_key + '\'' +
                ", expires_in=" + expires_in +
                ", errcode=" + errcode +
                ", errmsg='" + errmsg + '\'' +
                '}';
    }
}